package com.chinairi.mall.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.chinairi.common.annotation.CiccLabel;
import com.chinairi.common.model.BaseModel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.chinairi.mall.constant.CiccTableNameEnum;

/**
 * <p>
 * 合同维护
 * </p>
 *
 * @author Webgasd
 * @since 2020-10-17
 */
@TableName("CONTRACT_MAITAIN")
public class ContractMaitain extends BaseModel {

    private static final long serialVersionUID = 1L;

    /**
     * 合同ID
     */
    @TableId("CONT_DBID")
    private String contDbid;

    /**
     * COMA_甲方
     */
    @TableField("COMA_PARTY_A")
    private String comaPartyA;

    /**
     * COMA_乙方
     */
    @TableField("COMA_PARTY_B")
    private String comaPartyB;

    /**
     * COMA_合同名称
     */
    @TableField("COMA_CONTRACT_NAME")
    private String comaContractName;

    /**
     * COMA_合同编号
     */
    @TableField("COMA_CONTRACT_NO")
    private String comaContractNo;

    /**
     * COMA_合同编码
     */
    @TableField("COMA_CONTRACT_CODE")
    private String comaContractCode;

    /**
     * COMA_合同类型
     */
    @TableField("COMA_CONTRACT_TYPE")
    private String comaContractType;

    /**
     *
     */
    @TableField(exist = false)
    @CiccLabel(iccTableName= "CICC_CONTRACT_TYPE")
    private String comaContractTypeLabel;

    /**
     * 区分前端三个页面的flag
     */
    @TableField("COMA_CONTRACT_FLAG")
    private Integer comaContractFlag;

    /**
     * COMA_质保金比率
     */
    @TableField("COMA_QUALITY_DEPOSIT_LATE")
    private BigDecimal comaQualityDepositLate;

    /**
     * COMA_合同内现场服务次数
     */
    @TableField("COMA_CNTT_SENCE_QTY")
    private BigDecimal comaCnttSenceQty;

    /**
     * COMA_合同外现场服务单价
     */
    @TableField("COMA_SENCE_PRICE")
    private BigDecimal comaSencePrice;

    /**
     * COMA_履约保证金
     */
    @TableField("COMA_PER_BOND")
    private BigDecimal comaPerBond;

    /**
     * COMA_采购方式
     */
    @TableField("COMA_BUY_MODE")
    private String comaBuyMode;

    /**
     * COMA_签约时间
     */
    @TableField("COMA_SIGNING_DATE")
    private Date comaSigningDate;

    /**
     * COMA_付款类型
     */
    @TableField("COMA_PAY_TYPE")
    private String comaPayType;
    /**
     * COMA_付款类型
     */
    @TableField(exist = false)
    private String comaPayTypeLabel;


    /**
     * COMA_付款时间
     */
    @TableField("COMA_PAY_DATE")
    private Date comaPayDate;

    /**
     * COMA_开始日期
     */
    @TableField("COMA_START_EFFECT_DATE")
    private Date comaStartEffectDate;

    /**
     * COMA_结束日期
     */
    @TableField("COMA_END_EFFECT_DATE")
    private Date comaEndEffectDate;

    /**
     * COMA_是否含税
     */
    @TableField("COMA_IS_TAX")
    private String comaIsTax;

    /**
     * COMA_是否含税
     */
    @TableField(exist = false)
    private String comaIsTaxLabel;
    /**
     * COMA_税率
     */
    @TableField("COMA_TAXABLE_AMOUNT")
    private BigDecimal comaTaxableAmount;

    /**
     * COMA_合同金额
     */
    @TableField("COMA_TAXABLE_CNTT_AMOUNT")
    private BigDecimal comaTaxableCnttAmount;

    /**
     * COMA_合同状态
     */
    @TableField("COMA_STATUS")
    private String comaStatus;

    /**
     * COMA_合同条款
     */
    @TableField("COMA_CONTRACT_CLAUSE")
    private String comaContractClause;

    /**
     * COMA_经办人
     */
    @TableField("COMA_HANDLE_USER")
    private String comaHandleUser;

    /**
     * COMA_经办部门
     */
    @TableField("COMA_HANDLE_DEP")
    private String comaHandleDep;

    /**
     * COMA_备注
     */
    @TableField("COMA_REMAKE")
    private String comaRemake;

    /**
     * COMA_文件列表
     */
    @TableField("COMA_FILE")
    private String comaFile;

    /**
     * COMA_机构ID
     */
    @TableField("COMA_ORGID")
    private String comaOrgid;

    /**
     * COMA_创建人
     */
    @TableField("COMA_CREATE_USER")
    private String comaCreateUser;

    /**
     * COMA_创建时间
     */
    @TableField("COMA_CREATE_TIME")
    private Date comaCreateTime;

    /**
     * COMA_修改人
     */
    @TableField("COMA_UPDATE_USER")
    private String comaUpdateUser;

    /**
     * COMA_修改时间
     */
    @TableField("COMA_UPDATE_TIME")
    private Date comaUpdateTime;

    /**
     * COMA_审核人
     */
    @TableField("COMA_APPROVE_USER")
    private String comaApproveUser;

    /**
     * COMA_审核时间
     */
    @TableField("COMA_APPROVE_TIME")
    private Date comaApproveTime;

    /**
     * COMA_审核状态
     */
    @TableField("COMA_APPROVE_STATUS")
    private String comaApproveStatus;
    /**
     * COMA_审核状态
     */
    @TableField(exist = false)
    private String comaApproveStatusLabel;


    public String getContDbid() {
        return contDbid;
    }

    public void setContDbid(String contDbid) {
        this.contDbid = contDbid;
    }
    public String getComaPartyA() {
        return comaPartyA;
    }

    public void setComaPartyA(String comaPartyA) {
        this.comaPartyA = comaPartyA;
    }
    public String getComaPartyB() {
        return comaPartyB;
    }

    public void setComaPartyB(String comaPartyB) {
        this.comaPartyB = comaPartyB;
    }
    public String getComaContractName() {
        return comaContractName;
    }

    public void setComaContractName(String comaContractName) {
        this.comaContractName = comaContractName;
    }
    public String getComaContractNo() {
        return comaContractNo;
    }

    public void setComaContractNo(String comaContractNo) {
        this.comaContractNo = comaContractNo;
    }
    public String getComaContractCode() {
        return comaContractCode;
    }

    public void setComaContractCode(String comaContractCode) {
        this.comaContractCode = comaContractCode;
    }
    public String getComaContractType() {
        return comaContractType;
    }

    public void setComaContractType(String comaContractType) {
        this.comaContractType = comaContractType;
    }
    public Integer getComaContractFlag() {
        return comaContractFlag;
    }

    public void setComaContractFlag(Integer comaContractFlag) {
        this.comaContractFlag = comaContractFlag;
    }
    public BigDecimal getComaQualityDepositLate() {
        return comaQualityDepositLate;
    }

    public void setComaQualityDepositLate(BigDecimal comaQualityDepositLate) {
        this.comaQualityDepositLate = comaQualityDepositLate;
    }
    public BigDecimal getComaCnttSenceQty() {
        return comaCnttSenceQty;
    }

    public void setComaCnttSenceQty(BigDecimal comaCnttSenceQty) {
        this.comaCnttSenceQty = comaCnttSenceQty;
    }
    public BigDecimal getComaSencePrice() {
        return comaSencePrice;
    }

    public void setComaSencePrice(BigDecimal comaSencePrice) {
        this.comaSencePrice = comaSencePrice;
    }
    public BigDecimal getComaPerBond() {
        return comaPerBond;
    }

    public void setComaPerBond(BigDecimal comaPerBond) {
        this.comaPerBond = comaPerBond;
    }
    public String getComaBuyMode() {
        return comaBuyMode;
    }

    public void setComaBuyMode(String comaBuyMode) {
        this.comaBuyMode = comaBuyMode;
    }
    public Date getComaSigningDate() {
        return comaSigningDate;
    }

    public void setComaSigningDate(Date comaSigningDate) {
        this.comaSigningDate = comaSigningDate;
    }
    public String getComaPayType() {
        return comaPayType;
    }

    public void setComaPayType(String comaPayType) {
        this.comaPayType = comaPayType;
    }
    public Date getComaPayDate() {
        return comaPayDate;
    }

    public void setComaPayDate(Date comaPayDate) {
        this.comaPayDate = comaPayDate;
    }
    public Date getComaStartEffectDate() {
        return comaStartEffectDate;
    }

    public void setComaStartEffectDate(Date comaStartEffectDate) {
        this.comaStartEffectDate = comaStartEffectDate;
    }
    public Date getComaEndEffectDate() {
        return comaEndEffectDate;
    }

    public void setComaEndEffectDate(Date comaEndEffectDate) {
        this.comaEndEffectDate = comaEndEffectDate;
    }
    public String getComaIsTax() {
        return comaIsTax;
    }

    public void setComaIsTax(String comaIsTax) {
        this.comaIsTax = comaIsTax;
    }
    public BigDecimal getComaTaxableAmount() {
        return comaTaxableAmount;
    }

    public void setComaTaxableAmount(BigDecimal comaTaxableAmount) {
        this.comaTaxableAmount = comaTaxableAmount;
    }
    public BigDecimal getComaTaxableCnttAmount() {
        return comaTaxableCnttAmount;
    }

    public void setComaTaxableCnttAmount(BigDecimal comaTaxableCnttAmount) {
        this.comaTaxableCnttAmount = comaTaxableCnttAmount;
    }
    public String getComaStatus() {
        return comaStatus;
    }

    public void setComaStatus(String comaStatus) {
        this.comaStatus = comaStatus;
    }
    public String getComaContractClause() {
        return comaContractClause;
    }

    public void setComaContractClause(String comaContractClause) {
        this.comaContractClause = comaContractClause;
    }
    public String getComaHandleUser() {
        return comaHandleUser;
    }

    public void setComaHandleUser(String comaHandleUser) {
        this.comaHandleUser = comaHandleUser;
    }
    public String getComaHandleDep() {
        return comaHandleDep;
    }

    public void setComaHandleDep(String comaHandleDep) {
        this.comaHandleDep = comaHandleDep;
    }
    public String getComaRemake() {
        return comaRemake;
    }

    public void setComaRemake(String comaRemake) {
        this.comaRemake = comaRemake;
    }
    public String getComaFile() {
        return comaFile;
    }

    public void setComaFile(String comaFile) {
        this.comaFile = comaFile;
    }
    public String getComaOrgid() {
        return comaOrgid;
    }

    public void setComaOrgid(String comaOrgid) {
        this.comaOrgid = comaOrgid;
    }
    public String getComaCreateUser() {
        return comaCreateUser;
    }

    public void setComaCreateUser(String comaCreateUser) {
        this.comaCreateUser = comaCreateUser;
    }
    public Date getComaCreateTime() {
        return comaCreateTime;
    }

    public void setComaCreateTime(Date comaCreateTime) {
        this.comaCreateTime = comaCreateTime;
    }
    public String getComaUpdateUser() {
        return comaUpdateUser;
    }

    public void setComaUpdateUser(String comaUpdateUser) {
        this.comaUpdateUser = comaUpdateUser;
    }
    public Date getComaUpdateTime() {
        return comaUpdateTime;
    }

    public void setComaUpdateTime(Date comaUpdateTime) {
        this.comaUpdateTime = comaUpdateTime;
    }
    public String getComaApproveUser() {
        return comaApproveUser;
    }

    public void setComaApproveUser(String comaApproveUser) {
        this.comaApproveUser = comaApproveUser;
    }
    public Date getComaApproveTime() {
        return comaApproveTime;
    }

    public void setComaApproveTime(Date comaApproveTime) {
        this.comaApproveTime = comaApproveTime;
    }
    public String getComaApproveStatus() {
        return comaApproveStatus;
    }

    public void setComaApproveStatus(String comaApproveStatus) {
        this.comaApproveStatus = comaApproveStatus;
    }

    public String getComaContractTypeLabel() {
        return comaContractTypeLabel;
    }

    public void setComaContractTypeLabel(String comaContractTypeLabel) {
        this.comaContractTypeLabel = comaContractTypeLabel;
    }

    public String getComaIsTaxLabel() {
        return comaIsTaxLabel;
    }

    public void setComaIsTaxLabel(String comaIsTaxLabel) {
        this.comaIsTaxLabel = comaIsTaxLabel;
    }

    public String getComaPayTypeLabel() {
        return comaPayTypeLabel;
    }

    public void setComaPayTypeLabel(String comaPayTypeLabel) {
        this.comaPayTypeLabel = comaPayTypeLabel;
    }

    public String getComaApproveStatusLabel() {
        return comaApproveStatusLabel;
    }

    public void setComaApproveStatusLabel(String comaApproveStatusLabel) {
        this.comaApproveStatusLabel = comaApproveStatusLabel;
    }

    @Override
    public String toString() {
        return "ContractMaitain{" +
                "contDbid='" + contDbid + '\'' +
                ", comaPartyA='" + comaPartyA + '\'' +
                ", comaPartyB='" + comaPartyB + '\'' +
                ", comaContractName='" + comaContractName + '\'' +
                ", comaContractNo='" + comaContractNo + '\'' +
                ", comaContractCode='" + comaContractCode + '\'' +
                ", comaContractType='" + comaContractType + '\'' +
                ", comaContractTypeLabel='" + comaContractTypeLabel + '\'' +
                ", comaContractFlag=" + comaContractFlag +
                ", comaQualityDepositLate=" + comaQualityDepositLate +
                ", comaCnttSenceQty=" + comaCnttSenceQty +
                ", comaSencePrice=" + comaSencePrice +
                ", comaPerBond=" + comaPerBond +
                ", comaBuyMode='" + comaBuyMode + '\'' +
                ", comaSigningDate=" + comaSigningDate +
                ", comaPayType='" + comaPayType + '\'' +
                ", comaPayTypeLabel='" + comaPayTypeLabel + '\'' +
                ", comaPayDate=" + comaPayDate +
                ", comaStartEffectDate=" + comaStartEffectDate +
                ", comaEndEffectDate=" + comaEndEffectDate +
                ", comaIsTax='" + comaIsTax + '\'' +
                ", comaIsTaxLabel='" + comaIsTaxLabel + '\'' +
                ", comaTaxableAmount=" + comaTaxableAmount +
                ", comaTaxableCnttAmount=" + comaTaxableCnttAmount +
                ", comaStatus='" + comaStatus + '\'' +
                ", comaContractClause='" + comaContractClause + '\'' +
                ", comaHandleUser='" + comaHandleUser + '\'' +
                ", comaHandleDep='" + comaHandleDep + '\'' +
                ", comaRemake='" + comaRemake + '\'' +
                ", comaFile='" + comaFile + '\'' +
                ", comaOrgid='" + comaOrgid + '\'' +
                ", comaCreateUser='" + comaCreateUser + '\'' +
                ", comaCreateTime=" + comaCreateTime +
                ", comaUpdateUser='" + comaUpdateUser + '\'' +
                ", comaUpdateTime=" + comaUpdateTime +
                ", comaApproveUser='" + comaApproveUser + '\'' +
                ", comaApproveTime=" + comaApproveTime +
                ", comaApproveStatus='" + comaApproveStatus + '\'' +
                ", comaApproveStatusLabel='" + comaApproveStatusLabel + '\'' +
                '}';
    }
}
